<?php
class Config{
    /*
    //创建静态私有的变量保存该对象
    static private $instance;

    //防止使用new创建对象以及克隆对象
    private function __construct(){}
    private function __clone(){}

    static public function getInstance(){
        if(!self::$instance instanceof self){
            self::$instance = new self();
        }
        return self::$instance;
    }*/

    static public function loadConf(){
        return require_once(__DIR__ . '/../mysql.config.php');
    }

}